package module.dao;

import common.annotation.DaoSql;
import common.annotation.QueryDao;
import common.bean.SearchPageResult;
import common.bean.SearchParameter;
import common.dao.BaseDao;
import module.model.AssessmentRecordValueModel;

@QueryDao
public interface AssessmentRecordValueDao extends BaseDao<Long,AssessmentRecordValueModel> {
    @DaoSql(sql="SELECT * FROM assessment_records_value WHERE 1=1  { and RECORDS_ID=:recordsId } { and ITEM_ID=:itemId } { and DATA_ID=:dataId } { and formId=:FORM_ID } ",resultType = "Page[AssessmentRecordValueModelMapping]")
    public SearchPageResult<AssessmentRecordValueModel> getAssessmentRecordValueModelListPage(SearchParameter searchParameter);
}

